package config

func IsAdmin(user string, pass string) bool {
	for _, i := range config_data.AdminUser {
		if i.Password == pass && i.Username == user {
			return true
		}
	}
	return false
}
